#Using the higher order function filter(), define a function filter_long_words() that takes a
#list of words and an integer n and returns the list of words that are longer than n.

#simply implementations
def filter_long_words(lista, n):
    return filter(lambda x: len(x) > n, lista)

print filter_long_words(['aaa','baa','caa','daaa','eaa'], 3)
